<h1 align="left">{$title} [<a href="manage_banner.html">Quản lý Banner</a>]</h1>
    
<div align="center">
{$message}
{$sucess_msg}
</div>
<table class="hotel-form" bordercolor="#CCCCCC" border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse;margin: 20px auto; min-width: 500px">
        <tr>
            <td colspan="2" align="right" style="font-size:24px">
                [ <a href="javascript:document.ManageChiefForm.submit();" class="save_button" >Lưu</a> ] ||
                [ <a href="manage_banner.html">Hủy</a> ]
            </td>
        </tr>
        {if $hotel_id}
        <tr>
          <th align="right">ID:</th>
          <td>{$hotel_id}</td>
            <input type="hidden" value="{$hotel_id}" name="hotel_id">
        </tr>
        {/if}
    <tr>
        <tr>
            <th align="right">Tên:</th>
            <td><input type="text" name="hotel_name" id="hotel_name" value="{$hotel_name}"></td>
        </tr>
        <th align="right">Ảnh: </th>
        <td id="images_wrapper" colspan="2">
        {if $hotel_img}<img src="{$hotel_img}" alt="" width="100" height="auto"> {/if}
            <input type="file" name="file_image" id="file_image" />
        </td>
        <tr>
            <th align="right">Vị trí:</th>
            <td><input type="text" name="hotel_pos" id="hotel_pos" value="{$hotel_pos}"></td>
        </tr>

        <tr>
            <th align="right">Trạng thái: </th>
            <td>{html_radios name='hotel_status' options=$hotel_status selected=$status_id}</td>
        </tr>
        <tr>
            <th align="right">Banner hay Slide: </th>
            <td>{html_radios name='hotel_type' options=$hotel_type selected=$type_id}</td>
        </tr>

  </tr>


        <tr>
            <td colspan="2" align="center">
                <input type="submit" class="save_button" value="Lưu thay đổi" />
                <input type="reset" value="Reset form" />
            </td>
        </tr>
</table>
